﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace View
{
    /// <summary>
    /// Interaction logic for VentanaAdministrador.xaml
    /// </summary>
    public partial class VentanaAdministrador : Window
    {
        public VentanaAdministrador()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            RegistrarUsuario newRegistrar = new RegistrarUsuario();
            newRegistrar.ShowDialog();
        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            TiempoDeVidaPass newTiem = new TiempoDeVidaPass();
            newTiem.ShowDialog();
        }

        private void BtnCancelarCuenta_Click(object sender, RoutedEventArgs e)
        {
            Cuentas c = new Cuentas(1);
            c.ShowDialog();
        }

        private void BtnReactivarCuenta_Click(object sender, RoutedEventArgs e)
        {
            Cuentas c = new Cuentas(0);
            c.ShowDialog();
        }
    }
}
